package org.example.controller.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 用来调用常规服务的 OpenFeign 示例
 * */
@FeignClient(name="general", url="http://localhost:10004/product/test")
public interface HttpFeignService {

    @RequestMapping("/i1")
    String test();

}
